package com.xue.singleton;

public class StudentTest {
    public static void main(String[] args) {
        //创建Student的实例对象
       // Student stu0=new Student();
        Student stu0 = new Student("张三","男",20);
        Student stu1 = new Student("张三","男",20);
        System.out.println("stu0.equals(stu1)::"+stu0.equals(stu1));
    }
}
